package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.ArrayList;
import java.util.List;

/**
 * ClassName: DishService
 * Description:
 *
 * @Author HTAO
 * @Create 2023/11/1 22:10
 */
public interface DishService {
    void save(DishDTO dishDTO);

    PageResult dishPageQuery(DishPageQueryDTO dishPageQueryDTO);

    void DeleteBatch(List<Long> iDs);

    DishVO selectById(Long id);

    void update(DishDTO dishDTO);

    List<Dish> selectList(Long categoryId);

    List<DishVO> listWithFlavor(Dish dish);
}
